package _2025_3_26;

public class Hungry {
    private volatile static Hungry instance=new Hungry();
    //构造方法私有化
    private Hungry() {};

    public static Hungry getInstance(){
        return instance;
    }
}
